﻿<Window x:Class="FishingSearch.ProgressWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Ricerca"
        Width="448"
        Height="273"
        WindowStartupLocation="CenterOwner"
        AllowsTransparency="True"
        Opacity="1"
        WindowStyle="None"
        Background="{x:Null}"
        ShowInTaskbar="False">
    <Border CornerRadius="12,12,12,12"
          BorderBrush="#FF020202"
          BorderThickness="0,0,0,0"
          Height="Auto">

        <Border.Background>
            <LinearGradientBrush EndPoint="0.8,0.98"
                           StartPoint="-0.500,-0.197">
                <GradientStop Color="#FFD6E1EA"
                      Offset="0" />
                <GradientStop Color="#FF00000F"
                      Offset="1" />
                <GradientStop Color="#FF6EB5F5"
                      Offset="0.304" />
            </LinearGradientBrush>
        </Border.Background>

        <Grid>
            <ProgressBar Margin="10,0,10,39" x:Name="progressBar" Foreground="#FFFFA609" VerticalAlignment="Bottom" Height="25" />
            <!--<ProgressBar Height="86" HorizontalAlignment="Left" Margin="12,248,0,0" Name="progressBar1" VerticalAlignment="Top" Width="445" />-->
            <Image Margin="29,21,0,0"  x:Name="imgStatus"
             Stretch="None"
             Source="/ICONS/search_black.png"
             VerticalAlignment="Top"
             HorizontalAlignment="Left"
             Width="130"
             Height="141"
             Opacity="0.715" />
            <TextBlock Margin="211,72,-1,0"
                 Text="Ricerca in corso..."
                 x:Name="txtDialogMessage"
                 VerticalAlignment="Top"
                 Height="Auto"
                 Foreground="#FFCCCCCC"
                 FontSize="14"
                 TextWrapping="Wrap" />
            <DockPanel Height="25"
                 VerticalAlignment="Bottom"
                 Margin="10,0,12,13">
                <Button x:Name="btnCancel"
                Click="btnCancel_Click"
                Visibility="Hidden"
                Content="Interrompi"
                DockPanel.Dock="Right"
                Width="83"
                Margin="10,0,0,0"
                HorizontalAlignment="Right" Height="20" />
                <Label x:Name="lblStatus"
               Foreground="#FFCCCCCC"
               Content="Attendi il termine..." />
            </DockPanel>
        </Grid>
    </Border>
</Window>
